<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>echarts报表demo</title>
<%@include file="/baseIncludeJs.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/pedometer/css/sub.css" />
<script type="text/javascript" src="/resources/js/echarts/doc/asset/js/esl/esl.js"></script>
<script type="text/javascript" src="/resources/js/echarts/doc/asset/js/codemirror.js"></script>
<script type="text/javascript" src="/resources/js/echarts/doc/asset/js/javascript.js"></script>
<script type="text/javascript">
	$(function(){
		function autoSize(){
			var newH = $(window).height();
			var newW = $(window).width();
		
			$(".rightCont").width( newW );
			$(".rightContMain").height( newH);
		}
		autoSize();
		
		$(window).on("resize",function(){
			autoSize();
		});
	});
</script>
</head>
<body scroll="no">
	<div class="rightContMain">
	   <!--图表-->
	   <div class="chartWrap" id="main">
		正在加载报表数据，请稍候...
	   </div>
	   <!--图表 end-->
	</div>
	<script type="text/javascript">	
 		var rptOpt = "${data}";               
		var option = eval("("+rptOpt+")");	
	</script>
	<script src="/resources/js/echarts/doc/asset/js/echartsExample.js" type="text/javascript"></script>
</body>
</html>
